package com.apinji.common.plugin;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Created by 轩辕夏夏 on 2017/7/3.
 */
public final class DateUtils {
    private DateUtils() {}

    /**
     * 返回当前日期时间
     * 格式：YYYYMMDDhhmmss
     * @return
     */
    public static String getCurrentDateTime(){
        return new SimpleDateFormat("yyyyMMddHHmmss").format(new Date());
    }
}
